package com.link.base.base.pubacctorgmapping.service;

import com.link.base.base.pubacctorgmapping.dao.mybatis.mapper.PubAcctOrgMappingMapper;
import com.link.base.base.pubacctorgmapping.model.PubAcctOrgMapping;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 微信公众号组织映射- 
 *
 * @author 安小波
 * @date 2019/04/15 17:18
 */
@Service
public class PubAcctOrgMappingServiceImpl extends BasicServiceImpl<PubAcctOrgMapping> implements PubAcctOrgMappingService {

    @Resource
    private PubAcctOrgMappingMapper pubAcctOrgMappingMapper;
    
    @Override
    public BasicMapper<PubAcctOrgMapping> getBasicMapper() {
        return pubAcctOrgMappingMapper;
    }

    @Override
    public PubAcctOrgMapping queryByWxAppId(PubAcctOrgMapping pubAcctOrgMapping) throws Exception {
        return pubAcctOrgMappingMapper.queryByWxAppId(pubAcctOrgMapping);
    }
}

